home *** CD-ROM | disk | FTP | other *** search
/ Champak 64 / Volume 64 - JOGO DISK .iso / Games / sorveteria-maluca.swf / scripts / frame_26 / DoAction.as
Text File  |  2008-03-17  |  430b  |  18 lines

  1. play = true;
  2. _root.hold = false;
  3. i += 1;
  4. if(i < _root.level)
  5. {
  6.    sweet.duplicateMovieClip("sweet" + i,i);
  7.    setProperty("sweet" + i, _Y, random(75) - 100);
  8.    setProperty("sweet" + i, _X, random(325) + 225);
  9. }
  10. else
  11. {
  12.    duplicateMovieClip("flake","flakeCopy",16384 + i);
  13.    setProperty("flakeCopy", _Y, random(75) - 100);
  14.    setProperty("flakeCopy", _X, random(325) + 225);
  15.    gotoAndStop("done");
  16.    play();
  17. }
  18.